Loading TOC...

MarkLogic 9 Product Documentation
DELETE /v1/config/transforms/{name}

Summary

Remove the named transform.

Response

Upon successful removal, MarkLogic Server returns status 204 (Transform Deleted).

Required Privileges

This operation requires the rest-admin role, or the following privileges:

http://marklogic.com/xdmp/privileges/rest-admin

http://marklogic.com/xdmp/privileges/rest-writer

http://marklogic.com/xdmp/privileges/rest-reader

Usage Notes

For details, see Working With Content Transformations in the REST Application Developer's Guide.

Example

$ curl --anyauth --user user:password -X DELETE -i \
    http://localhost:8004/v1/config/transforms/example

==> The transform named "example" is uninstalled. MarkLogic Server
    responds with headers of the form:

Content-Type: text/xml; charset=UTF-8
Content-Length: 211
Connection: close

HTTP/1.1 204 Deleted
Server: MarkLogic
Content-Length: 0
Connection: close
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.